package cn.com.connext.scrm.domain.master;

import com.connext.common.domain.UUIDDomain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "burying_point_ad")   // 定义数据库表名
public class BuryingPointAd implements UUIDDomain, Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    private String id;//主键

    @Override
    public String getId() {
        return id;
    }

    @Override
    public void setId(String id) {
        this.id = id;
    }

    @Column(name = "user_action_set_id")
    private int userActionSetId; //数据源id

    @Column(name = "click_id")
    private String clickId;//用户点击id

    @Column(name = "action_type")
    private String actionType;//行为类型

    @Column(name = "url")
    private String url;//转化行为发生页面的路径

    @Column(name = "action_time")
    private Date actionTime; //行为发生时，客户端的时间点
    @Column(name = "action_param_phone")
    private String actionParamPhone;//转化行为发生页面的路径

    public int getUserActionSetId() {
        return userActionSetId;
    }

    public void setUserActionSetId(int userActionSetId) {
        this.userActionSetId = userActionSetId;
    }

    public String getClickId() {
        return clickId;
    }

    public void setClickId(String clickId) {
        this.clickId = clickId;
    }

    public String getActionType() {
        return actionType;
    }

    public void setActionType(String actionType) {
        this.actionType = actionType;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Date getActionTime() {
        return actionTime;
    }

    public void setActionTime(Date actionTime) {
        this.actionTime = actionTime;
    }

    public String getActionParamPhone() {
        return actionParamPhone;
    }

    public void setActionParamPhone(String actionParamPhone) {
        this.actionParamPhone = actionParamPhone;
    }
}
